<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:p="http://primefaces.org/ui">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</h:head>
<h:body>
	<h:form>
		<h:panelGrid columns="2">
			<h:outputText value="Nome:" />
			<p:inputText id="nome" value="#{BeanCliente.cliente.nome}"/>
			
			<h:outputText value="CPF:" />
			<p:inputMask mask="999.999.999-99" value="#{BeanCliente.cliente.cpf}"/>
			
			<h:outputText value="E-mail:" />
			<p:inputText id="email" value="#{BeanCliente.cliente.email}"/>
			
			<h:outputText value="Data Cadastro:" />
			<p:calendar value="#{BeanCliente.cliente.dataCadastro}"/>
			
			<p:commandButton value="Salvar" action="#{BeanCliente.Salvar}"/>
		</h:panelGrid>
	</h:form>
</h:body>
</html>